package com.imooc.pan.server.common.config;

import com.imooc.pan.core.constants.RPanConstants;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author hhb
 * @data 2024/6/11 15:25
 */
@Component
@ConfigurationProperties("com.imooc.pan.server")
@Data
public class PanServerConfig {

    /**
     * 文件分片的过期天数
     */
    private Integer chunkFileExpirationDays = RPanConstants.ONE_INT;
}
